#pragma once

#include "GeoExport.h"

class GEO_API Color {
public:
    Color() = default;
    Color(float r, float g, float b, float a = 1.0f)
        : red(r)
        , green(g)
        , blue(b)
        , alpha(a) {}

    Color(int r, int g, int b, float a = 1.0f)
        : red(r / 255.0f)
        , green(g / 255.0f)
        , blue(b / 255.0f)
        , alpha(a) {}

    float red = 1.0f;
    float green = 1.0f;
    float blue = 1.0f;
    float alpha = 1.0f; // alpha
};